End of overtaking ban

Hello, I have oriented myself during the overtaking process to the crossed line. Just before ( about 5 m ) the crossed line ( which was about 100 m long ), came a overtaking prohibition sign ( sign 276) that I have overlooked. Then came another sign ( after another 100 m ) with speed limit ( 50 ). After that I overtook a car. I was then shown by the car owner. Therefore the question what is it here, pulled out line or overtaking prohibition sign? How can you get if overtaking ban ( sign 276 ) is at the end. Greetings