High oil pressure

I’m curious. How could a defective or plugged oil filter by-pass valve cause an increase in oil pressure if the oil pressure relief valve is functioning correctly?