IB subjects universities LAW

Hey everyone
I was wondering if taking a fairly hard subject in IB like Physics HL or Chemistry HL improves your chances of getting into universities even if you are not going to be studying anything related to those subjects?

I am considering switching from chemistry hl to psychology hl to improve my IB score but does that look “bad” on university applications?

Thank you so much for any feedback!

Switching midway through the year may look bad if you already began the class, but having that class on your transcript won’t make you look any better. Generally, AP, HL, and SL are all weighed the same in a college’s eyes.