Some context: I live near a very congested main road, and everyone goes through the villages whenever it is blocked. If I am cycling, I have a continuous stream of cars passing me, even if they can't see the road ahead. So to prevent them overtaking (more for their safety than mine) I pull out more towards the centre.
I have seen that this answer says that it is okay to take the full lane when
the lane isn't wide enough for a car to pass safely (to discourage dangerously close passing)
But my situation isn't about close passing, it is about passing that is dangerous to others, and consequently could be dangerous to be me.
Should I be "taking the lane" to stop people doing this, or is this not the right way to deal with it?
Just for reference, this is the road I am riding along, the worst point is half way, there is a sharp left then right.